<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<table border="1" class="table table-striped">
    <thead>
    <tr>
        <th>编号</th>
        <th>姓名</th>
        <th>性别</th>
        <th>年龄</th>
        <th>成绩</th>
        <th>删除信息</th>
        <th>修改信息</th>
    </tr>
    </thead>
    <tbody>
    <tr th:each="kfmfile : ${file}">
        <td th:text="${kfmfile.id}"></td>
        <td th:text="${kfmfile.name}"></td>
        <td th:text="${kfmfile.size}"></td>
        <td th:text="${kfmfile.createTime}"></td>
        <td th:text="${kfmfile.uploadIp}"></td>
        <td th:text="${kfmfile.downloadLink}"></td>
        <td><a th:href="@{'/delete?id=' + ${kfmfile.id}}">删除</a></td>
        <td>
            <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal"
                    th:data-whatever="${kfmfile.id}">修改
            </button>
        </td>
    </tr>
    </tbody>
</table>
</body>
</html>